/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package structures.tree;

import java.util.List;

import structures.table.symboltable.ItemInfo;

/**
 *
 * @author Vlad
 */
public class ParseTreeNode {

    private ItemInfo elem;
    private List<ParseTreeNode> leaves;

    public ParseTreeNode(ItemInfo elem, List<ParseTreeNode> leaves) {
        this.elem = elem;
        this.leaves = leaves;
    }

    public ParseTreeNode(ItemInfo elem) {
        this.elem = elem;
    }

    public ItemInfo getElem() {
        return elem;
    }

    public List<ParseTreeNode> getLeaves() {
        return leaves;
    }
}
